package com.jyd.P1.service;

import com.jyd.P1.entity.Account;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jyd.P1.enums.ResultEnum;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author jyd1124
 * @since 2023-07-20
 */
public interface AccountService extends IService<Account> {

    String insertAccount(Account account);

    String transfer (String from, String to, Long value);

    String logOutAmountByAccountId(Integer accountId);

}
